package com.joney.website.service;

import com.joney.website.dto.request.ConsumeQry;
import com.joney.website.entity.Consume;
import com.joney.website.mapper.ConsumeMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 消费记录表 服务实现类
 * </p>
 *
 * @author joney
 * @since 2018-11-13
 */
@Service
public class ConsumeService extends ServiceImpl<ConsumeMapper, Consume>  {

    public List<Consume> consumeList(ConsumeQry req){
        return baseMapper.consumeList(req);
    }

    public List<Consume> consumeSumCost(ConsumeQry req){
        return baseMapper.consumeSumCost(req);
    }

}
